package com.rightsidetech.mall.dto.request.userApp;

import com.rightsidetech.commom.base.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class CommodityAppPageReq extends PageRequest implements Serializable {

    @ApiModelProperty(value = "门店id",required = true)
    @NotNull(message = "门店id不可为空")
    @Min(value = 0,message = "id不可为负数")
    private Long storeId;

    @ApiModelProperty("分类id")
    private Long typeId;

}
